package com.sc.service;

import java.util.List;
import java.util.Map;

import com.sc.pojo.AppointmentEC;

/**
 * Description: <br/>
 * Date: 2018年7月3日 下午7:57:19 <br/>
 * 
 * @author liutao
 * @version
 * @see
 */
public interface AppointmentECService {
    /**
     * 查询每个员工当天预约完成量
     */
    List<AppointmentEC> selectAppointmentECByDay();

    /**
     * 查询每个员工当周预约完成量
     */
    List<AppointmentEC> selectAppointmentECByWeek();

    /**
     * 查询每个员工当月预约完成量
     */
    List<AppointmentEC> selectAppointmentECByMonth();

    /**
     * 查询每个员工上月预约完成量
     */
    List<AppointmentEC> selectAppointmentECByUpMonth();

    /**
     * 查询每个员工当季度预约完成量
     */
    List<AppointmentEC> selectAppointmentECByQuarter();

    /**
     * 查询每个员工上季度预约完成量
     */
    List<AppointmentEC> selectAppointmentECByUpQuarter();

    /**
     * 查询每个员工当年度预约完成量
     */
    List<AppointmentEC> selectAppointmentECByYear();
    
    int insert(AppointmentEC ap);
    
    Integer selectCidByName(String name);
  //修改预约状态或修改时间
    int  updateAppoinmentAndDate(Map<String,Object> map);

}

